package com.matt.repository.courseV2;

import com.matt.domain.courseV2.VendorCourseRecord;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;


@Repository
public interface VendorCourseRecordRepository extends JpaRepository<VendorCourseRecord, String>, JpaSpecificationExecutor<VendorCourseRecord> {

    Page<VendorCourseRecord> findAllByAreaId(String areaId,Pageable pageable);
}